package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.payconfig.EntityPackageVoucher;
import com.ocom.common.request.callpackage.OnShowPackageDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PackageVoucherService extends IService<EntityPackageVoucher> {
    EntityPackageVoucher selectVoucherTypeId(Long comId, Long voucherTypeId);

    List<OnShowPackageDetail> selectByComId(Long comId);

    boolean deleteByPackageTypeId(Long comId, Long packageTypeId);
}
